package com.logic.saas.enums;

import com.logic.saas.pojo.Kind;


/**
 * 州枚举，需要同步到数据库
 * @author jeffdong
 *
 */
public enum StateEnum {
	AB("AB","Alberta",1),
	AK("AK","Alaska",2),
	AL("AL","Alabama",3),
	AR("AR","Arkansas",4),
	AZ("AZ","Arizona",5),
	BC("BC","British Columbia",6),
	CA("CA","California",7),
	CO("CO","Colorado",8),
	CT("CT","Connecticut",9),
	DC("DC","District of Columbia",10),
	DE("DE","Delaware",11),
	FL("FL","Florida",12),
	GA("GA","Georgia",13),
	HI("HI","Hawaii",14),
	IA("IA","Iowa",15),
	ID("ID","Idaho",16),
	IL("IL","Illinois",17),
	IN("IN","Indiana",18),
	KS("KS","Kansas",19),
	KY("KY","Kentucky",20),
	LA("LA","Lousiana",21),
	MA("MA","Massachusetts",22),
	MB("MB","Manitoba",23),
	MD("MD","Maryland",24),
	ME("ME","Maine",25),
	MI("MI","Michigan",26),
	MN("MN","Minnesota",27),
	MO("MO","Missouri",28),
	MS("MS","Mississippi",29),
	MT("MT","Montana",30),
	NA("NA","Not Applicable",31),
	NB("NB","New Brunswick",32),
	NC("NC","North Carolina",33),
	ND("ND","North Dakota",34),
	NE("NE","Nebraska",35),
	NF("NF","Newfoundland",36),
	NH("NH","New Hampshire",37),
	NJ("NJ","New Jersey",38),
	NL("NL","Newfoundland/Labrador",39),
	NM("NM","New Mexico",40),
	NS("NS","Nova Scotia",41),
	NT("NT","Northwest Territories",42),
	NU("NU","Nunavut Territory",43),
	NV("NV","Nevada",44),
	NY("NY","New York",45),
	OH("OH","Ohio",46),
	OK("OK","Oklahoma",47),
	ON("ON","Ontario",48),
	OR("OR","Oregon",49),
	PA("PA","Pennsylvania",50),
	PE("PE","Prince Edward Island",51),
	PR("PR","Puerto Rico",52),
	QC("QC","Quebec",53),
	RI("RI","Rhode Island",54),
	SC("SC","South Carolina",55),
	SD("SD","South Dakota",56),
	SK("SK","Saskatchewan",57),
	TN("TN","Tennessee",58),
	TX("TX","Texas",59),
	UT("UT","Utah",60),
	VA("VA","Virginia",61),
	VI("VI","Virgin Island",62),
	VT("VT","Vermont",63),
	WA("WA","Washington",64),
	WI("WI","Wisconson",65),
	WV("WV","West Virginia",66),
	WY("WY","Wyoming",67),
	YT("YT","Yukon Territory",68);


	
	StateEnum(String shortName,String fullName, Integer priority){
		this.shortName = shortName;
		this.fullName = fullName;
		this.priority = priority;
	}
	private String shortName;
	private String fullName;
	private Integer priority;
	
	private Kind kind=new Kind(KindEnum.STATE.getShortName(), KindEnum.STATE.getFullName(),KindEnum.STATE.isEditable());
	
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Kind getKind() {
		return kind;
	}
	
	
}
